package com.tarena.security.admin.dao;

import com.tarena.security.admin.entity.db.MicroService;
import com.tarena.security.admin.entity.query.MicroServiceQuery;
import java.util.List;

/**
 * <p>
 * micro_service Mapper 接口
 * </p>
 *
 * @author Ly
 * @since 2023-04-10
 */
public interface MicroServiceMapper  {

    List<MicroService> getMicroServiceList(MicroServiceQuery query);

    int addNewMicroService(MicroService service);

    int updateByID(MicroService service);

    int getMicroServiceCountByName(String name);

    MicroService getMicroServiceById(Integer id);

    void deleteById(Integer[] id);
}
